<?php

require_once '../application/controllers/MotherController.php';

class Admin_InvoiceController extends MotherController
{

    public function init() {

        $this->checkAdmin();
        
        $this->view->categorie = $this->_categorie();
    }

    public function indexAction() {
        $this->_helper->layout->setLayout('layouts/2columns-left');

        $XML_Model = new Application_Model_XML();
        $invoices = $XML_Model->getInvoices();
        $this->view->invoices = $invoices;
        unset ($invoices);
    }


}

